<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>我的钱包</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <!--标准mui.css-->
    <link rel="stylesheet" href="__PUBLIC__/css/mui.min.css">
    <!--App自定义的css-->
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/app.css" />
</head>

<body>
<header class="mui-bar mui-bar-nav">
    <a onclick="dump('{:U('indexSet')}')" class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
    <script>
        //url跳转
        function dump(url) {
            location.href=url
        }
    </script>
    <h1 class="mui-title">我的钱包</h1>
</header>
<div class="mui-content">
    <ul class="mui-table-view">
        <li class="mui-table-view-cell">
            <a href="{:U('myYue')}" class="fl"><i class="mui-user-icon mui-yeicon  mui-pull-left"></i><em>我的余额</em></a> <span class="fr"><a style="color: black" href="{:U('myYue')}">可用余额{$data.MyAmount}元</a></span>
        </li>
        <?php
    if(Cookie('ji') == 2)
    {
?>
        <li class="mui-table-view-cell">
            <a class="fl"><i class="mui-user-icon mui-yhicon  mui-pull-left"></i><em>我的银行卡</em></a><!--<span class="fr">可用优惠券10张</span>-->
        </li>
        <?php
    }
?>

        <?php
    if(Cookie('ji') == 1)
    {
?>
        <li class="mui-table-view-cell">
            <a href="{:U('myJifen')}" class="fl"><i class="mui-user-icon mui-jficon  mui-pull-left"></i><em>我的积分</em></a><span class="fr"><a href="{:U('myJifen')}" style="color: black"
                href="">可用积分{$jifen}分</a></span></li>
        <li class="mui-table-view-cell">
            <a href="{:U('youhuuijuan')}" class="fl"><i class="mui-user-icon mui-yhicon  mui-pull-left"></i><em>我的优惠券</em></a><span class="fr"><a  href="{:U('youhuuijuan')}" style="color: black">可用优惠券{$juan}张</a></span></li>
        <li class="mui-table-view-cell">
            <a class="fl"><i class="mui-user-icon mui-fpicon mui-pull-left"></i><em>开发票</em></a>
        </li>
        <?php
    }
?>
    </ul>
</div>
</body>

</html>